$OpenBSD: patch-contrib_aho-corasick_CMakeLists_txt,v 1.2 2017/03/08 17:02:13 sthen Exp $
--- contrib/aho-corasick/CMakeLists.txt.orig	Sun Dec 25 11:17:32 2016
+++ contrib/aho-corasick/CMakeLists.txt	Sun Mar  5 15:26:42 2017
@@ -2,9 +2,6 @@ SET(AHOCORASICSRC	acism_create.c
 					acism.c)
 
 IF(ENABLE_FULL_DEBUG MATCHES "OFF")
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
-	SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
-endif ()
 ENDIF()
 
 IF(NOT GPL_RSPAMD_BINARY)
